import numpy as np
import pandas as pd
import plotly.express as px
import plotly.graph_objects as go
df = pd.read_csv("Your Career Aspirations of GenZ.csv")
df
| Your Current Country. | Your Current Zip Code / Pin Code | Your Gender | Which of the below factors influence the most about your career aspirations ? | Would you definitely pursue a Higher Education / Post Graduation outside of India ? If only you have to self sponsor it. | How likely is that you will work for one employer for 3 years or more ? | Would you work for a company whose mission is not clearly defined and publicly posted. | How likely would you work for a company whose mission is misaligned with their public actions or even their product ? | How likely would you work for a company whose mission is not bringing social impact ? | What is the most preferred working environment for you. | Which of the below Employers would you work with. | Which type of learning environment that you are most likely to work in ? | Which of the below careers looks close to your Aspirational job ? | What type of Manager would you work without looking into your watch ? | Which of the following setup you would like to work ? | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | India | 273005 | Male | People who have changed the world for better | Yes, I will earn and do that | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 4 | Fully Remote with No option to visit offices | Employer who rewards learning and enables that... | Instructor or Expert Learning Programs, Trial ... | Business Operations in any organization, Build... | Manager who explains what is expected, sets a ... | Work alone, Work with 2 to 3 people in my team... |
| 1 | India | 851129 | Male | People who have changed the world for better | No, But if someone could bare the cost I will | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 1 | Fully Remote with Options to travel as and whe... | Employer who pushes your limits by enabling an... | Self Paced Learning Portals, Instructor or Exp... | Business Operations in any organization, Build... | Manager who explains what is expected, sets a ... | Work with 5 to 6 people in my team |
| 2 | India | 123106 | Female | Social Media like LinkedIn | Yes, I will earn and do that | Will work for 3 years or more | Yes | Will work for them | 7 | Hybrid Working Environment with less than 15 d... | Employer who pushes your limits by enabling an... | Self Paced Learning Portals, Trial and error b... | Manage and drive End-to-End Projects or Produc... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team, Work with ... |
| 3 | India | 834003 | Male | People from my circle, but not family members | No, But if someone could bare the cost I will | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 6 | Hybrid Working Environment with less than 15 d... | Employer who pushes your limits by enabling an... | Instructor or Expert Learning Programs, Trial ... | Business Operations in any organization, Manag... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team |
| 4 | India | 301019 | Female | Influencers who had successful careers | No, But if someone could bare the cost I will | Will work for 3 years or more | No | Will NOT work for them | 5 | Fully Remote with Options to travel as and whe... | Employer who appreciates learning and enables ... | Self Paced Learning Portals, Learning by obser... | Teaching in any of the institutes/online or Of... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team, Work with ... |
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 230 | India | 605008 | Male | People from my circle, but not family members | Yes, I will earn and do that | Will work for 3 years or more | No | Will NOT work for them | 7 | Fully Remote with Options to travel as and whe... | Employer who pushes your limits by enabling an... | Self Paced Learning Portals, Learning by obser... | Design and Creative strategy in any company, B... | Manager who sets goal and helps me achieve it | Work with more than 10 people in my team |
| 231 | India | 722207 | Male | People from my circle, but not family members | No I would not be pursuing Higher Education ou... | This will be hard to do, but if it is the righ... | Yes | Will work for them | 5 | Hybrid Working Environment with less than 3 da... | Employer who rewards learning and enables that... | Learning by observing others, Trial and error ... | Business Operations in any organization, Look ... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team |
| 232 | India | 604102 | Female | People who have changed the world for better | Yes, I will earn and do that | Will work for 3 years or more | Yes | Will work for them | 4 | Hybrid Working Environment with less than 10 d... | Employer who appreciates learning and enables ... | Self Paced Learning Portals, Learning by obser... | Design and Creative strategy in any company, B... | Manager who sets goal and helps me achieve it | Work with more than 10 people in my team |
| 233 | India | 122002 | Male | People who have changed the world for better | Yes, I will earn and do that | No way, 3 years with one employer is crazy | No | Will NOT work for them | 7 | Hybrid Working Environment with less than 15 d... | Employer who rewards learning and enables that... | Self Paced Learning Portals, Instructor or Exp... | Teaching in any of the institutes/online or Of... | Manager who explains what is expected, sets a ... | Work with 5 to 6 people in my team |
| 234 | India | 605102 | Female | My Parents | Yes, I will earn and do that | This will be hard to do, but if it is the righ... | Yes | Will work for them | 5 | Every Day Office Environment | Employer who appreciates learning and enables ... | Self Paced Learning Portals, Instructor or Exp... | Business Operations in any organization, Desig... | Manager who sets targets and expects me to ach... | Work with 7 to 10 or more people in my team |
235 rows × 15 columns
df.columns
Index(['Your Current Country.', 'Your Current Zip Code / Pin Code',
'Your Gender',
'Which of the below factors influence the most about your career aspirations ?',
'Would you definitely pursue a Higher Education / Post Graduation outside of India ? If only you have to self sponsor it.',
'How likely is that you will work for one employer for 3 years or more ?',
'Would you work for a company whose mission is not clearly defined and publicly posted.',
'How likely would you work for a company whose mission is misaligned with their public actions or even their product ?',
'How likely would you work for a company whose mission is not bringing social impact ?',
'What is the most preferred working environment for you.',
'Which of the below Employers would you work with.',
'Which type of learning environment that you are most likely to work in ?',
'Which of the below careers looks close to your Aspirational job ?',
'What type of Manager would you work without looking into your watch ?',
'Which of the following setup you would like to work ?'],
dtype='object')
df.head()
| Your Current Country. | Your Current Zip Code / Pin Code | Your Gender | Which of the below factors influence the most about your career aspirations ? | Would you definitely pursue a Higher Education / Post Graduation outside of India ? If only you have to self sponsor it. | How likely is that you will work for one employer for 3 years or more ? | Would you work for a company whose mission is not clearly defined and publicly posted. | How likely would you work for a company whose mission is misaligned with their public actions or even their product ? | How likely would you work for a company whose mission is not bringing social impact ? | What is the most preferred working environment for you. | Which of the below Employers would you work with. | Which type of learning environment that you are most likely to work in ? | Which of the below careers looks close to your Aspirational job ? | What type of Manager would you work without looking into your watch ? | Which of the following setup you would like to work ? | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | India | 273005 | Male | People who have changed the world for better | Yes, I will earn and do that | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 4 | Fully Remote with No option to visit offices | Employer who rewards learning and enables that... | Instructor or Expert Learning Programs, Trial ... | Business Operations in any organization, Build... | Manager who explains what is expected, sets a ... | Work alone, Work with 2 to 3 people in my team... |
| 1 | India | 851129 | Male | People who have changed the world for better | No, But if someone could bare the cost I will | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 1 | Fully Remote with Options to travel as and whe... | Employer who pushes your limits by enabling an... | Self Paced Learning Portals, Instructor or Exp... | Business Operations in any organization, Build... | Manager who explains what is expected, sets a ... | Work with 5 to 6 people in my team |
| 2 | India | 123106 | Female | Social Media like LinkedIn | Yes, I will earn and do that | Will work for 3 years or more | Yes | Will work for them | 7 | Hybrid Working Environment with less than 15 d... | Employer who pushes your limits by enabling an... | Self Paced Learning Portals, Trial and error b... | Manage and drive End-to-End Projects or Produc... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team, Work with ... |
| 3 | India | 834003 | Male | People from my circle, but not family members | No, But if someone could bare the cost I will | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 6 | Hybrid Working Environment with less than 15 d... | Employer who pushes your limits by enabling an... | Instructor or Expert Learning Programs, Trial ... | Business Operations in any organization, Manag... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team |
| 4 | India | 301019 | Female | Influencers who had successful careers | No, But if someone could bare the cost I will | Will work for 3 years or more | No | Will NOT work for them | 5 | Fully Remote with Options to travel as and whe... | Employer who appreciates learning and enables ... | Self Paced Learning Portals, Learning by obser... | Teaching in any of the institutes/online or Of... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team, Work with ... |
country = df["Your Current Country."].value_counts()
country
India 231 Germany 2 United Arab Emirates 1 United States of America 1 Name: Your Current Country., dtype: int64
country = df["Your Current Country."].value_counts()
label = country.index
counts = country.values
colors =['red','lightgreen']
fig = go.Figure(data = [go.Pie(labels = label, values = counts)])
fig.update_layout(title_text = "Current Country")
fig.update_traces(hoverinfo = 'label+value', textinfo = 'percent', textfont_size = 30, marker = dict(colors = colors,
line=dict(color='black', width = 3)))
fig.show()
df.head()
| Your Current Country. | Your Current Zip Code / Pin Code | Your Gender | Which of the below factors influence the most about your career aspirations ? | Would you definitely pursue a Higher Education / Post Graduation outside of India ? If only you have to self sponsor it. | How likely is that you will work for one employer for 3 years or more ? | Would you work for a company whose mission is not clearly defined and publicly posted. | How likely would you work for a company whose mission is misaligned with their public actions or even their product ? | How likely would you work for a company whose mission is not bringing social impact ? | What is the most preferred working environment for you. | Which of the below Employers would you work with. | Which type of learning environment that you are most likely to work in ? | Which of the below careers looks close to your Aspirational job ? | What type of Manager would you work without looking into your watch ? | Which of the following setup you would like to work ? | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | India | 273005 | Male | People who have changed the world for better | Yes, I will earn and do that | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 4 | Fully Remote with No option to visit offices | Employer who rewards learning and enables that... | Instructor or Expert Learning Programs, Trial ... | Business Operations in any organization, Build... | Manager who explains what is expected, sets a ... | Work alone, Work with 2 to 3 people in my team... |
| 1 | India | 851129 | Male | People who have changed the world for better | No, But if someone could bare the cost I will | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 1 | Fully Remote with Options to travel as and whe... | Employer who pushes your limits by enabling an... | Self Paced Learning Portals, Instructor or Exp... | Business Operations in any organization, Build... | Manager who explains what is expected, sets a ... | Work with 5 to 6 people in my team |
| 2 | India | 123106 | Female | Social Media like LinkedIn | Yes, I will earn and do that | Will work for 3 years or more | Yes | Will work for them | 7 | Hybrid Working Environment with less than 15 d... | Employer who pushes your limits by enabling an... | Self Paced Learning Portals, Trial and error b... | Manage and drive End-to-End Projects or Produc... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team, Work with ... |
| 3 | India | 834003 | Male | People from my circle, but not family members | No, But if someone could bare the cost I will | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 6 | Hybrid Working Environment with less than 15 d... | Employer who pushes your limits by enabling an... | Instructor or Expert Learning Programs, Trial ... | Business Operations in any organization, Manag... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team |
| 4 | India | 301019 | Female | Influencers who had successful careers | No, But if someone could bare the cost I will | Will work for 3 years or more | No | Will NOT work for them | 5 | Fully Remote with Options to travel as and whe... | Employer who appreciates learning and enables ... | Self Paced Learning Portals, Learning by obser... | Teaching in any of the institutes/online or Of... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team, Work with ... |
a = df["Which of the below factors influence the most about your career aspirations ?"].value_counts()
label = a.index
counts = a.values
colors =['gold','lightgreen']
fig = go.Figure(data = [go.Pie(labels = label, values = counts)])
fig.update_layout(title_text = "Factors influencing career aspirations")
fig.update_traces(hoverinfo = 'label+value', textinfo = 'percent', textfont_size = 30, marker = dict(colors = colors,
line=dict(color='black', width = 3)))
fig.show()
b = "Would you definitely pursue a Higher Education / Post Graduation outside of India ? If only you have to self sponsor it."
b =df[b].value_counts()
b
Yes, I will earn and do that 110 No I would not be pursuing Higher Education outside of India 65 No, But if someone could bare the cost I will 60 Name: Would you definitely pursue a Higher Education / Post Graduation outside of India ? If only you have to self sponsor it., dtype: int64
c = df["Would you definitely pursue a Higher Education / Post Graduation outside of India ? If only you have to self sponsor it."].value_counts()
label = c.index
counts = c.values
colors =['gold','lightgreen','red']
fig = go.Figure(data = [go.Pie(labels = label, values = counts)])
fig.update_layout(title_text = "How many pursue higher education outside india with their investment?")
fig.update_traces(hoverinfo = 'label+value', textinfo = 'percent', textfont_size = 30, marker = dict(colors = colors,
line=dict(color='black', width = 3)))
fig.show()
df.head()
| Your Current Country. | Your Current Zip Code / Pin Code | Your Gender | Which of the below factors influence the most about your career aspirations ? | Would you definitely pursue a Higher Education / Post Graduation outside of India ? If only you have to self sponsor it. | How likely is that you will work for one employer for 3 years or more ? | Would you work for a company whose mission is not clearly defined and publicly posted. | How likely would you work for a company whose mission is misaligned with their public actions or even their product ? | How likely would you work for a company whose mission is not bringing social impact ? | What is the most preferred working environment for you. | Which of the below Employers would you work with. | Which type of learning environment that you are most likely to work in ? | Which of the below careers looks close to your Aspirational job ? | What type of Manager would you work without looking into your watch ? | Which of the following setup you would like to work ? | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | India | 273005 | Male | People who have changed the world for better | Yes, I will earn and do that | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 4 | Fully Remote with No option to visit offices | Employer who rewards learning and enables that... | Instructor or Expert Learning Programs, Trial ... | Business Operations in any organization, Build... | Manager who explains what is expected, sets a ... | Work alone, Work with 2 to 3 people in my team... |
| 1 | India | 851129 | Male | People who have changed the world for better | No, But if someone could bare the cost I will | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 1 | Fully Remote with Options to travel as and whe... | Employer who pushes your limits by enabling an... | Self Paced Learning Portals, Instructor or Exp... | Business Operations in any organization, Build... | Manager who explains what is expected, sets a ... | Work with 5 to 6 people in my team |
| 2 | India | 123106 | Female | Social Media like LinkedIn | Yes, I will earn and do that | Will work for 3 years or more | Yes | Will work for them | 7 | Hybrid Working Environment with less than 15 d... | Employer who pushes your limits by enabling an... | Self Paced Learning Portals, Trial and error b... | Manage and drive End-to-End Projects or Produc... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team, Work with ... |
| 3 | India | 834003 | Male | People from my circle, but not family members | No, But if someone could bare the cost I will | This will be hard to do, but if it is the righ... | No | Will NOT work for them | 6 | Hybrid Working Environment with less than 15 d... | Employer who pushes your limits by enabling an... | Instructor or Expert Learning Programs, Trial ... | Business Operations in any organization, Manag... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team |
| 4 | India | 301019 | Female | Influencers who had successful careers | No, But if someone could bare the cost I will | Will work for 3 years or more | No | Will NOT work for them | 5 | Fully Remote with Options to travel as and whe... | Employer who appreciates learning and enables ... | Self Paced Learning Portals, Learning by obser... | Teaching in any of the institutes/online or Of... | Manager who explains what is expected, sets a ... | Work with 2 to 3 people in my team, Work with ... |
d = df["How likely is that you will work for one employer for 3 years or more ?"].value_counts()
label = d.index
counts = d.values
colors = ['lightblue','lightgreen','gold']
fig = go.Figure(data = [go.Pie(labels = label, values = counts)])
fig.update_layout(title_text = "Work for one employer for 3 years or more")
fig.update_traces(hoverinfo = 'label+value', textinfo = 'percent', textfont_size = 20,
marker = dict(colors = colors, line = dict(color = "red", width = 2)))
fig.show()
abc = df["What is the most preferred working environment for you."].value_counts()
label = abc.index
counts = abc.values
color = ['aqua','pink','purple']
fig = go.Figure(data = [go.Pie(labels = label, values = counts)])
fig.update_layout(title_text = "Most preferred working environment for you.")
fig.update_traces(hoverinfo = 'label+value', textinfo = 'percent', textfont_size = 20, marker = dict(colors = color,
line = dict(color = "black", width = 3)))
fig.show()